// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
//路由
import router from './router'
//移动端的click事件会延迟300毫秒，这样的话会严重影响体验
//所以需要在用npm安装插件   npm install fastclik --save  以下是第一步
import fastClik from 'fastclick'
import 'styles/reset.css'
//解决手机端的  “1px”像素问题   使用方式，在需要一像素边框的地方的类上加上  border-bottom
import 'styles/border.css'
//引入图标插件 
import 'styles/iconfont.css'
//引入轮播插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
//第二步	 
fastClik.attach(document.body)

Vue.use(VueAwesomeSwiper)
  
new Vue({
  el: '#app',
  router,	 
  components: { App }, 
  template: '<App/>'
})

